package com.ctbri.containerindepth;

import java.util.Set;
import java.util.TreeSet;

import com.ctbri.util.TextFile;

public class Ex4 {

	public static void main(String[] args) {
		Set<String> words = new TreeSet<>(new TextFile("D:\\Java\\jar\\apache-log4j-2.4.1-bin\\LICENSE.txt", "\\W+"));
		System.out.println(words);
	}

}
